package cn.mall.server.openfeign;

import cn.mall.common.utils.R;
import cn.mall.server.config.DefaultFeignConfiguration;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
@FeignClient(value = "mall-product", configuration = DefaultFeignConfiguration.class)
public interface ProService {
    @RequestMapping("/product/skuinfo/info/{skuId}")
    public R info(@PathVariable("skuId") Long skuId);
}
